projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9730575
)
Fontize more automatic variables in makefile-gmake-mode
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 5 Feb 2021 12:08:50 +0000
(13:08 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 5 Feb 2021 12:08:50 +0000
(13:08 +0100)
* lisp/progmodes/make-mode.el (makefile-gmake-font-lock-keywords):
Fontize the $ in more automatic variables (bug#27842).
lisp/progmodes/make-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/make-mode.el
b/lisp/progmodes/make-mode.el
index a0e09f51ce35821ee8a1732c951f96a0bda69305..e382d6edcd29db35a6d8cc8a81dd4e32d5255222 100644
(file)
--- a/
lisp/progmodes/make-mode.el
+++ b/
lisp/progmodes/make-mode.el
@@
-435,6
+435,9
@@
not be enclosed in { } or ( )."
'("[^$]\\(\\$[({][@%*][DF][})]\\)"
1 'makefile-targets append)
+ ;; Automatic variables.
+ '("[^$]\\(\\$[@%*?+^|]\\)" 1 'makefile-targets append)
+
;; $(function ...) ${function ...}
'("[^$]\\$[({]\\([-a-zA-Z0-9_.]+\\s \\)"
1 font-lock-function-name-face prepend)